{**
 * My Application layout template.
 *
 * @copyright  Copyright (c) 2010 John Doe
 * @package    MyApplication
 *
 * @param string   $basePath web base path
 * @param string   $robots   tell robots how to index the content of a page (optional)
 * @param array    $flashes  flash messages
 *}

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="{$pageInfo["contentType"]}">

        <meta name="keywords" content="{$pageInfo["keywords"]}">
        <meta name="description" content="{$pageInfo["description"]}">
        <meta name="robots" content="{$robots}" n:ifset="$robots">

        <title>{$pageInfo["title"]}</title>

        <link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/css/{$pageInfo["style"]}" type="text/css">
        <link rel="shortcut icon" href="{$basePath}/{$pageInfo["icon"]}" type="image/x-icon">
	{block head}{/block}
    </head>

    <body>
        <div id="page-wrapper">
            <div id="logo">
                <a href="{$basePath}"><img alt="logo" src="{$basePath}/images/logo.png" /></a>
            </div>        
            <div id="menu-wrapper">
                <ul id="menu">
                    <li><a href="{$basePath}/uvod">Úvod</a></li>
                    <li><a href="{$basePath}/jadro">Jádro systému</a></li>
                    <li><a href="{$basePath}/moduly">Moduly</a></li>
                </ul>
            </div>
            <div id="content-wrapper1">
                <div id="content-wrapper2">
                    <div id="content">
                        {include #content}
                    </div>
                    <div id="content-download">
                        <div class="download-heading">Stažení CMS</div>                            
                        <a href="#"><img alt="stazeni modulu stranek" src="{$basePath}/images/download.png" /></a>
                        
                        <div class="download-heading">Doplňující Moduly</div>
                        
                        <div class="module-download">
                            <img src="{$basePath}/images/html.png">
                            <div class="module-download-right">
                                <div class="module-name">Stránky</div>
                                <a href="#"><img alt="stazeni modulu stranek" src="{$basePath}/images/download.png" /></a>
                            </div>
                        </div>
                        <div class="module-download">
                            <img src="{$basePath}/images/image.png">
                            <div class="module-download-right">
                                <div class="module-name">Obrázky</div>
                                <a href="#"><img alt="stazeni modulu obrazku" src="{$basePath}/images/download.png" /></a>
                            </div>
                        </div>
                        <div class="module-download">
                            <img src="{$basePath}/images/menu.png">
                            <div class="module-download-right">
                                <div class="module-name">Menu</div>
                                <a href="#"><img alt="stazeni modulu menu" src="{$basePath}/images/download.png" /></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear-fix"></div>
            <div id="footer">
                &copy; FIT-CMS {? echo date('Y')}
            </div>
        </div>
    </body>
</html>
